package com.yys.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yys.common.utils.PageUtils;
import com.yys.gulimall.product.entity.AttrGroupEntity;
import com.yys.gulimall.product.vo.AttrGroupWIthAttrsVo;
import com.yys.gulimall.product.vo.sku.skuItem.SkuItemVo;
import com.yys.gulimall.product.vo.sku.skuItem.SpuItemGroupAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zqcc
 * @email zhang32194878@163.com
 * @date 2021-02-21 01:58:10
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catId);

    List<AttrGroupWIthAttrsVo> getAttrGroupWithAttrs(Long catelogId);

    List<SpuItemGroupAttrVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

